sgi2bmp

## sgi2bmp [Tool Command]

Converts SGI format into bitmap.

### Syntax

    sgi2bmp [-t/-c] input-file input-file ...

### Description

Converts an SGI format image into a bitmap. If an alpha value is specified for the SGI format image, then you can also set a threshold value and change any pixel below that value to a specified color.

The command arguments are described below:

input-file
  The SGI image file to be converted. Must be in a format that does not have palettes.
-t transparency
  Sets a threshold for the alpha value. If this argument is not specified, the alpha value is ignored during the conversion.
-c color
  Specifies (with 6-digit hexadecimal) the color to fill pixels that are below the threshold value. The default color is black. If you use this argument without setting `-t`, it will only effect pixels with an alpha value of 0.

### Notes

The alpha value will be ignored during the conversion process if `-t` and `-c` are not specified. These options are ignored for formats that do not have an alpha channel. The options are a useful way to effect transparency on all sprites of a certain color.

AGB-06-0031-001A (2/26/01)
© 2001 Nintendo of America Inc.